package com.hypo.business.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author hypo
 * @version 1.0
 * @since 2025/8/13
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_warehouse")
public class Warehouse {
    //主键ID
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    //仓库名字
    private String name;
    //所在城市ID
    @TableField(value = "city_id")
    private Integer cityId;
    //所在城市名称
    @TableField(value = "city_name")
    private String cityName;
    //所在省份ID
    @TableField(value = "province_id")
    private Integer provinceId;
    //所在省份名字
    @TableField(value = "province_name")
    private String provinceName;
    //详细地址
    private String address;
    //经纬度
    private String location;
    //负责人名字
    @TableField(value = "person_charge_name")
    private String personChargeName;
    //SaaS标识
    @TableField(value = "saas_id")
    private String saasId;
    //负责人ID
    @TableField(value = "person_charge_id")
    private Long personChargeId;
    //排序
    private Integer sort;
    //创建时间
    @TableField(value = "create_time")
    private LocalDateTime createTime;
    //创建人账号
    @TableField(value = "create_by")
    private String createBy;
    //修改时间
    @TableField(value = "update_time")
    private LocalDateTime updateTime;
    //修改人账号
    @TableField(value = "update_by")
    private String updateBy;
    //是否删除  1 未删除  2 已删除
    @TableField(value = "is_del")
    private Integer isDel;
}
